package cn.fz.ssedemo.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sse_alarm_t")
@SuperBuilder
@NoArgsConstructor
public class AlarmEntity extends BaseEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    // 设备序列号
    private String devNo;

    // 渔船号
    private String shipNo;

    // 报警类型
    private Integer alarmType;

    // 报警时间
    private Date alarmTime;

    // 报警内容
    private String alarmInfo;
}
